<template>
  <div id="App">
    我是洗脚彭，累计洗脚次数:{{ value }}
    <button @click="$emit('input',value + 1)">今天下班早，我要去洗脚</button>
  </div>
</template>

<script>
export default {
  name: 'App',
  props: {
    value: {
      type: Number,
      required: true
    }
  },
  data() {
    return {
    }
  },
  computed: {
  },
  methods: {
  }
}
</script>

<style scoped>
</style>
